package com.yonyou.pmclouds.plan.plandriven.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * 单据驱动计划的参数VO
 *
 * @author th
 * @date 2019/11/18 11:12
 */
@Data
public class PlanDrivenParamVO implements Serializable {
    /**
     * 动作，驱动或回滚
     */
    public static final String ACTION_DRIVE = "drive";
    public static final String ACTION_ROLLBACK = "rollback";

    /**
     * 单据来源
     */
    public static final String SRC_NC = "NC";
    public static final String SRC_NCC = "NCC";
    public static final String SRC_PMC = "友工程";

    /**
     * 单据类型
     */
    private String billType;
    /**
     * 交易类型
     */
    private String transiType;
    /**
     * 单据主键
     */
    private String pkBill;
    /**
     * 制单人
     */
    private String userId;
    /**
     * 制单人手机号
     */
    private String userMobile;
    private String pkProject;
    /**
     * 单据来源，NC、NCC或友工程
     */
    private String srcType;
    /**
     * 动作：drive 驱动，rollback 回滚
     */
    private String action;

    private Map<String, Object> additionInfo;
}
